PrintOut Method (Report Object)

Sample Code - PrintOut Method

The PrintOut method prints out the specified pages of the report to the printer selected by using the SelectPrinter Method (Report Object), method. If no printer is selected, the default printer specified in the report will be used.

Syntax
object.PrintOut PromptUser, NumberOfCopies, Collated, 
StartPageNumber, StopPageNumber
Parameters

PromptUser
(Optional)

Specifies Boolean value indicating if the user should be prompted for printer options.

NumberOfCopies
(Optional)

Specifies the number of report copies that you want printed.

Collated (Optional)

Specifies Boolean value specifying whether or not you want the report copies collated.

StartPageNumber
(Optional)

Specifies the first page that you want printed.

StopPageNumber
(Optional)

Specifies the last page that you want printed.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com